<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>我的网页</title>
		<script src="echarts.js"></script>
	</head>
	<body>
		<div id="main" style="width:600px; height:400px;"></div>
		<script type="text/javascript">
			//基于准备好的dom,初始化echarts实例
			var myChart =echarts.init(document.getElementById("main"))
			//指定图表的配置项和数据
		 var option = {
		  xAxis: {
		    type: 'category',
		    data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
		  },
		  yAxis: {
		    type: 'value'
		  },
		  series: [
		    {
		      data: [150, 230, 224, 218, 135, 147, 260],
		      type: 'line'
		    }
		  ]
		};
			
		</script>
		<h2>hello world</h2>
		<h1>我的第一个网页</h1>
		
	</body>
</html>
